#ifndef __NOCOPYABLE_H__
#define __NOCOPYABLE_H__
/*
 *禁止对象语义基类
 * */
class Nocopyable
{
public:
    Nocopyable()=default;
    ~Nocopyable()=default;
    Nocopyable(Nocopyable &&)=default;
    Nocopyable&operator=(Nocopyable &&)=default;
    Nocopyable(const Nocopyable &)=delete;
    Nocopyable &operator=(const Nocopyable &)=delete;
};

#endif
